//功能API接口
import apiRequest from "@/store/axios";

// 注册账号接口
const apiRegister = (param: any) => {
    return apiRequest("/user/register", param, "post");
};

// 登录接口
const apiLogin = (param: any) => {
    return apiRequest("/user/login", param, "post");
};

// 文件管理接口
const apiUserFile = (param: any) => {
    return apiRequest("/user/file", param, "post");
};

export default {
    apiRegister,
    apiLogin,
    apiUserFile,
};
